﻿@using Webdiyer.WebControls.Mvc
@model PagedList<Dyd.BaseService.ConfigManager.Domain.Model.tb_systemconfig_model>

<table class="mytable" width="100%">
    <tr>
        <th style="width:15%;">键</th>
        <th style="width:15%;">值</th>
        <th style="width:55%">备注</th>
        <th style="width:15%">操作</th>
    </tr>
    @foreach (var item in Model)
    {
        <tr data-id="@item.id">
            <td>@item.key</td>
            <td>@item.value</td>
            <td>@item.remark</td>
            <td><a class="edit" style="cursor:pointer">修改</a> <a class="del" style="cursor:pointer">删除</a></td>
        </tr>
    }
</table>
<div class="total pt10">
    <div class="fl">共<em>@Model.TotalPageCount</em>页<em>@Model.TotalItemCount</em>条记录，当前为第<em>@Model.CurrentPageIndex</em>页</div>
    @Html.Pager(Model, new PagerOptions { PageIndexParameterName = "pageIndex", ShowPageIndexBox = true, PageIndexBoxType = PageIndexBoxType.TextBox, CssClass = "mvcPager" })
</div>